Skip to content

Conversation

@jml
Copy link
Collaborator

@jml jml commented Feb 1, 2018

Triggered by a discussion on #154. Commit history pretty much outlines what's changed.

Remove some unused code that was generating warnings.
@jml jml force-pushed the pedantic-builds branch from 7841598 to 4716fc6 Compare February 2, 2018 02:35
jml added 3 commits February 5, 2018 13:32
Since these are all used for place-holders for things that the compiler
renders impossible, we should use `panic` instead.
Means we're not special-casing `Type` import.
We have two things called `Type`: the AST-level type and the Schema-level
type. Here, we rename both.

`GType` is chosen for consistency with `GInt`, `GBool`, etc.

Motivation is allowing us to work on GHC 8.0 and 8.2.
See protolude/protolude#79 for details.
@jml jml requested a review from teh February 5, 2018 13:44
@jml jml mentioned this pull request Feb 5, 2018
Copy link
Collaborator

@teh teh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! The only mildly controversial chance could be Type -> GType but it's in an internal module so people have been warned :)

@jml jml merged commit 39bdc75 into master Feb 5, 2018
@jml jml deleted the pedantic-builds branch February 5, 2018 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants